<?php
/* $cs = Yii::app()->getClientScript();
  $themeUrl = Yii::app()->theme->baseUrl;
  $cs->registerScriptFile($themeUrl . '/res/js/main.js', CClientScript::POS_END); */
?>
<?php foreach ($confessions as $confession): ?>
    <div class="confession">
        <h3></h3>
        <p><?php echo $confession->content; ?></p>  
    </div>
<?php endforeach; ?>
<div>
    <?php
    $this->widget('CLinkPager', array(
        'pages' => $pages,
    ))
    ?>
</div>
<span id="hdn-start-point" class="hidden confession"><?php // echo $startpoint;  ?></span>

